﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LogSystem
{
    // DBLogger.cs
    public class DBLogger : ILogger
    {
        public void Log(string message)
        {
            // 假设这里是保存日志到数据库的代码
            Console.WriteLine($"Database Log: {message}");
        }
    }
}
